/*    file: UserAgentMessage.h
 *    desc:
 *   
 * created: 2015-11-12
 *  author: chuanjiang.zh@qq.com
 * company: 
 */ 


#if !defined USERAGENTMESSAGE_H_
#define USERAGENTMESSAGE_H_

#include "BasicType.h"
#include <string>
////////////////////////////////////////////////////////////////////////////

enum UserAgentMsgType
{
    kAgentSession,
    kAgentMessage
};

enum SessionStatus
{
    kSessionConnected,
    kSessionFailure,
    kSessionTerminated,
    kRegSuccess,
    kRegFailure
};

class SessionMsgData
{
public:
    int m_status;
    std::string m_text;

    SessionMsgData(int status, const std::string& text):
        m_status(status),
        m_text(text)
    {
    }

};

////////////////////////////////////////////////////////////////////////////
#endif //USERAGENTMESSAGE_H_

